package com.soviet.boot.business.system.entity;

import cn.org.atool.fluent.mybatis.annotation.FluentMybatis;
import cn.org.atool.fluent.mybatis.base.IEntity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Collection;

/**
 * <p>
 * 系统用户
 * </p>
 *
 * @author Dave
 * @since 2021/07/20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@FluentMybatis(table = "sys_user")
@ApiModel(value = "SysUser对象", description = "系统用户")
public class SysUserFluent implements Serializable, IEntity {

    private Long id;

    private String username;


    private String password;

    private String phone;


    private LocalDateTime createTime;


    private LocalDateTime updateTime;


    private Integer state;


    private Boolean isDel;

}
